package com.example.service;

import com.example.entity.Orders;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 订单信息表 服务类
 * </p>
 *
 * @author yzy
 * @since 2025-08-04
 */
public interface IOrdersService extends IService<Orders> {

    Integer placeOrder(Integer userId, Integer productId);

    void addorder(Integer productId, Integer userId);

    void completeOrder(Orders orders);
}
